<?php

/* @var $this \yii\web\View */
/* @var $content string */
use yii\helpers\Html;
use frontend\assets\AppAsset;

AppAsset::register($this);

$this->registerCss("
    .myfooter{padding: 15px;background: #3A414E;color:#fff;text-align: center;}
");
$setting = Yii::$app->setting;
$home_url = Yii::$app->request->getHostInfo();
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="keywords" content="<?=$setting->get('site_keyword')?>">
    <meta name="Description" content="<?=$setting->get('site_description')?>">
    <?php $this->registerCsrfMetaTags() ?>
    <title><?=$setting->get('site_title')?></title>
    <?php $this->head() ?>
</head>
<body>
<?php $this->beginBody() ?>

<div class="header">
   
</div>

<div class="">
    <?= $content ?>
</div>

<div class="myfooter">
    <p style="color: #fff;font-size: 12px">版权所有@<?=$setting->get('site_banquan_one')?></p>
        <a class="beian" href="http://www.beian.miit.gov.cn" style="color: #fff;font-size: 12px">
            <?php if($home_url == 'http://www.31network.cn'){?>
                备案号：<?=$setting->get('site_beian_one')?>
            <?php }else{ ?>
                备案号：<?=$setting->get('site_beian_two')?>

            <?php }?>
        </a>
</div>

<?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage() ?>

<script type="text/javascript">

</script>
